<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>管理员注册界面</title>
    <link rel="stylesheet" href='style/sign.css'/>
</head>
<style>

</style>
<script>
    function check(){
    var a1=document.getElementById('password').value;
    var a2=document.getElementById('password1').value;
     if(a1!=a2){
        alert('你输入的两次密码不一致!请重新输入');
        a2.style.background="red";
        return false;
     }
    }


</script>
<body>
    <p class=title>超市管理注册系统</p>
    <div class=main>
        <div class=main_left></div>
        <div class=main_right>
            <h1>sign</h1>
            <form action="sign.do" method="POST" onsubmit="return check()">
                用&nbsp&nbsp户&nbsp&nbsp名：<input type=text class=a1 name=username size="20" required placeholder="请输入您要注册的用户名" /><br/>
                密&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp码：<input type="password"class=a1  name=password size="20" id=password required placeholder="请输入您要注册的密码" /><br/>
                密码确认：<input type="password" class=a1 name=password1 size="20" id=password1 required placeholder="再次输入密码" /><br/>
                邮&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp箱：<input type=email class=a1 name=email size="20" required placeholder="请输入您要注册的邮箱地址" /><br/>
                手机号码：<input type=text name=phtonumber class=a1 required placeholder="请输入您要注册的手机号码"><br/>
               
                <input type="submit" class=zcann value="注册"  /><br/>
                <p>点我返回登录-> <a href="login.html">登录</a></p>
            </form>
        </div>
    </div>
</body>
</html>